package game;

public class Cup {
	
	private int dice1, dice2;
	
	public Cup()
	{
		dice1=1;
		dice2=2;
	}
	
	public void rollDices()
	{
		dice1=(int)(Math.random()*6)+1;
		dice2=(int)(Math.random()*6)+1;
	}
	
	public int[] getArray()
	{
		int[] d = new int[2];
		d[0]=dice1;
		d[1]=dice2;
		return d;
	}
	
	public int getDice1()
	{
		return dice1;
	}
	
	public int getDice2()
	{
		return dice2;
	}
	
	public int getRoll()
	{
		return dice1+dice2;
	}
}
